From: Eric S. Raymond Date: Tue, 27 Apr 1993 21:59:59 +0000 (+0000) Subject: (un_autoload): Don't try to save old autoload forms when we load something X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96464 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ac669fa2a99d847823f1a355bde6dbfa654a5fda;p=emacs.git (un_autoload): Don't try to save old autoload forms when we load something in. Something about the code now conditioned out by UNLOAD was screwing up ordinary autoloads, notably of picture.el. When I figure out what, I'll fix and re-enable this code. --- diff --git a/src/eval.c b/src/eval.c index d12cf8d9fae..445ff088164 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1391,6 +1391,7 @@ do_autoload (fundef, funname) Vautoload_queue = Qt; Fload (Fcar (Fcdr (fundef)), Qnil, noninteractive ? Qt : Qnil, Qnil); +#ifdef UNLOAD /* Save the old autoloads, in case we ever do an unload. */ queue = Vautoload_queue; while (CONSP (queue)) @@ -1402,6 +1403,7 @@ do_autoload (fundef, funname) Fput(first, Qautoload, (Fcdr (second))); queue = Fcdr (queue); } +#endif /* UNLOAD */ /* Once loading finishes, don't undo it. */ Vautoload_queue = Qt;